Wiki : ./Security/Linux/Privilege Escalation/Information Gathering.md

Information Gathering

Manual

Hostname

hostname
uname -a 

version

cat /etc/os-release
lsb_release -a
uname -a
cat /etc/issue
uname -r
arch

Local users

cat /etc/passwd

Local groups

cat /etc/groups

Automated

unix-prives-check

./unix-privesc-check standard > output.txt